#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CWARNINGPANELUI_WARNINGPANELUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CWARNINGPANELUI_WARNINGPANELUI_H

#include "TextPanelUI.h"

class CWarningPanelUI: public CTextPanelUI
{
public:
	CWarningPanelUI(void);
	virtual ~CWarningPanelUI(void);
	LPCTSTR GetClass() const;

	void SetWarningType(UINT uType);

	SIZE EstimateSize(SIZE szAvailable);
	void DoPaint(HDC hDC, const RECT& rcPaint);  
	void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

protected:
	UITYPE_COLOR m_BackColor;
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CWARNINGPANELUI_WARNINGPANELUI_H
